Bookly\Frontend\Modules\Booking\Ajax D

Total Complexity 256
Dependencies 41
Dependents 1
Total lines 1,364
Lines of code 1,054
Logical lines of code 549
Comment lines 160
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
renderTime()
D
25
40 138
_prepareProgressTracker()
C
33 30 83
renderPayment()
C
33 26 88
sessionSave()
B
39 19 59
saveAppointment()
B
35 17 83
renderDetails()
A
39 13 62
_setDataForSkippedServiceStep()
A
43 14 44
addToCalendar()
A
44 13 42
renderNextTime()
A
44 11 41
renderService()
A
37 7 76
renderComplete()
A
44 9 42
approveAppointment()
A
45 9 40
getGateways()
A
46 9 38
rejectAppointment()
A
48 7 33
renderExtras()
S
46 6 39
_handleTimeZone()
S
53 6 23
wpUserLogin()
S
43 4 48
renderCart()
S
52 5 24
renderRepeat()
S
57 2 16
cancelAppointment()
S
62 3 10
csrfTokenValid()
S
63 2 11
_showCartButton()
S
78 2 3
renderIcs()
S
65 1 8
permissions()
S
79 1 3